Delete Policy
Deletes the Replenishment Policy identified by the id and policy_id path
parameters, along with its Merchant, Product Profile, and Handling Class
selections.
A Policy that already has computed Replenishment results cannot be deleted —
the published report still refers to it. The request is refused with 422 and a
used_by.published_replenishment_results detail containing the blocking row count;
deactivate the Policy, let the warehouse rebuild, then delete it. Deleting an
active Policy changes what the index would produce, so it requests a rebuild.
Authorizations
Generate a JWT access token through a Custom Global Integration and provide it with each request in the Authorization header prefixed with "Bearer" and then a single space.
Path Parameters
The id of the referenced Warehouse.
The id of the referenced ReplenishmentPolicy.
Response
OK - The operation completed successfully and there is no response body.